import service from '../utils/request'
import Api from "./serviceApi";

export function upload(data: any){
    return service({
        url: Api.common.file.upload,
        method: 'post',
        headers: {
            "Content-Type":"multipart/form-data;charset-utf-8"
        },
        data
    })
}

export function getTokenLoad(data:any){
    return service({
        url: Api.common.file.getTokenLoad,
        method: 'get',
        data
    })
}